package com.erp.produce.dao;

import com.erp.produce.entity.Goods;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface GoodsDao extends JpaRepository<Goods,Long> {
    List<Goods> findAllByGoodNameLike(String name, Pageable pageable);
}
